<template>
  <div class="map-wrapper">
    <div v-for="row in map" class="flex">
      <div v-for="col in row">
        <img class="map-icon" :src="imageMap[col]" />
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { useMapStore } from '@/stores/map';
import { cssWidthHeight, imageMap } from '@/constants';
const { map } = useMapStore();
</script>

<style lang="scss" scoped>
.map-wrapper {
  .map-icon {
    width: v-bind(cssWidthHeight);
    height: v-bind(cssWidthHeight);
  }
}
</style>
